package com.i3q360.layui.modular.system.service;

import java.util.List;
import java.util.Map;

import org.springframework.data.domain.Sort;

import com.i3q360.layui.common.util.PageInfo;
import com.i3q360.layui.modular.system.entity.SysPermission;

public interface MenuService {
	
	SysPermission queryById(Integer id);
	
	List<SysPermission> queryList(Sort sort);
	
	List<SysPermission> queryList(Map<String,Object> params);
	
	PageInfo<SysPermission> queryPage(Map<String,String> map); //页面用

	List<SysPermission> queryList(String key, Object value);

	SysPermission save(SysPermission sys);

	void delete(SysPermission menu);
	
	//更新状态
	
}
